<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
	<head>
		<title>UltraToolBar: LVToolBarItem Class</title>
		<link rel="stylesheet" href="LVStyle.css" type="text/css">
	</head>
	<body>
		<div class="Menu"><a href="../ToolBar.htm"><IMG alt="" src="Home.bmp" border="0"></a>&nbsp; 
			LogicalVue UltraToolBar Online Help&nbsp; (2.1.0)</div>
		<h1>LVToolBarItem Class</h1>
		<p>
			ToolBarItems are added to ToolBars to become buttons.</p>
		<P>Parent Classes: Object</P>
		<h2>Properties</h2>
		<table>
			<tr>
				<td class="Name">
					Caption As String</td>
				<td>
					Specifies the text to be displayed as the label for a ToolBar button.</td>
			</tr>
			<tr>
				<td class="Name">HelpTag As String</td>
				<td>More descriptive text that is displayed in the StatusBar when one is associated 
					with a ToolBar.</td>
			</tr>
			<TR>
				<TD class="Name">Image As Picture</TD>
				<TD>A picture that will be used as the icon for a ToolBar button.&nbsp; The picture 
					will be scaled to either 32x32 (Large Buttons) or 16x16 (Small Buttons).&nbsp; 
					For best results you should make sure to set the mask for the Picture 
					(Picture.Mask) before assigning it to Image.</TD>
			</TR>
			<TR>
				<TD class="Name">Enabled As Boolean = True</TD>
				<TD>Indicates if this item will be selectable on the ToolBar.&nbsp; Buttons that 
					are not enabled display both the icon and the text as slightly "grayed-out".</TD>
			</TR>
			<TR>
				<TD class="Name">Visible As Boolean = True</TD>
				<TD>Indicates if this item will be displayed in the ToolBar.&nbsp; Invisible items 
					may be added by the user if they choose to customize the ToolBar.</TD>
			</TR>
			<tr>
				<td class="Name">AutoMask As Boolean</td>
				<td>When True, this tells UltraToolBar to create a mask for the image.  When False, the image mask (if one
				exists) will be used.</td>
			</tr>
			<tr>
				<td class="Name">ItemId As Integer</td>
				<td>Can be used as a button identifier for parsing the LVToolBar.Action event.</td>
			</tr>
			<tr>
				<td class="Name">HasMenu As Boolean</td>
				<td>Returns True if this ToolBarItem has a menu, False if it does not have a menu.</td>
			</tr>
			<tr>
				<td class="Name">MinimumWidth As Integer</td>
				<td>Sets the minimum width of the ToolBarItem.</td>
			</tr>
		</table>
		<h2>Properties</h2>
		<table>
			<tr>
				<td class="Name">AddMenuItem(myMenu As MenuItem)</td>
				<td>Adds a MenuItem to the button.  Buttons that have menus display a small arrow in the lower right corner and
				display the menu when clicked.</td>
			</tr>
		</table>
		<h2>Notes</h2>
		<p>Other LVToolBarItem properties and methods are for internal use only and should not be 
			used.</p>
		<p class="Small">Copyright 2006 <a href="http://www.logicalvue.com">LogicalVue 
				Software, Inc.</a></p>
	</body>
</html>
